package team.soi.cloud.order.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import team.soi.cloud.order.service.impl.GoodsServiceFallBack;

import java.util.List;

/**
 * 功能描述: <br/>
 *
 * @author Soi <br/>
 * @version 1.0 2016/8/11 10:39
 * @see
 */
@FeignClient(value = "goods-service",fallback = GoodsServiceFallBack.class)
public interface GoodsService {

    @RequestMapping(value = "/goods/",method = RequestMethod.GET)
    List<?> list ();
}
